package com.jun.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jun.pojo.entity.SysOrderUser;
import com.jun.pojo.vo.SysOrderUserVo;

import java.util.List;

public interface SysOrderUserService extends IService<SysOrderUser> {

  /**
   * 根据订单id查询 SysOrderUser 集合
   * @param orderId 根据订单id查询
   */
  SysOrderUserVo selectByOrderId(Integer orderId);

  /**
   * 根据用户id查询 SysOrderUser 集合
   * @param userId 用户id
   */
  List<SysOrderUserVo> selectByUserId(Integer userId);
}
